package com.zixuan.sina.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zixuan.sina.entity.Post;
import com.zixuan.sina.entity.vo.PostQuery;
import com.zixuan.sina.entity.vo.PostVo;
import com.zixuan.sina.utils.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PostMapper extends BaseMapper<Post> {

    List<PostVo> queryPost(@Param("postQuery") PostQuery postQuery);
    List<PostVo> queryPostMyPush(@Param("postQuery") PostQuery postQuery);
    List<PostVo> queryVideo(@Param("postQuery") PostQuery postQuery);
}
